package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 资源分类添加关联资源信息Vo.
 * 
 * @author Administrator
 *
 */
public class ResourcesVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3257707602066863128L;

	private String resId;

	private String resName;

	private String resTypeId;

	private String publishDate;

	private String name;

	private Integer queryType;

	private Integer pageNumber;

	private Integer pageSize;

	private String resCategoryId; // 资源分类id

	private Integer relationType;// 资源关系类型 0：关联关系、1：包含关系、2隶属

	private Date startCreateDate;// 注册时间起

	private Date endCreateDate;// 注册时间止
	
	private String endDate;

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResTypeId() {
		return resTypeId;
	}

	public void setResTypeId(String resTypeId) {
		this.resTypeId = resTypeId;
	}

	public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getQueryType() {
		return queryType;
	}

	public void setQueryType(Integer queryType) {
		this.queryType = queryType;
	}


	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getResCategoryId() {
		return resCategoryId;
	}

	public void setResCategoryId(String resCategoryId) {
		this.resCategoryId = resCategoryId;
	}

	public Integer getRelationType() {
		return relationType;
	}

	public void setRelationType(Integer relationType) {
		this.relationType = relationType;
	}

	public Date getStartCreateDate() {
		return startCreateDate;
	}

	public void setStartCreateDate(Date startCreateDate) {
		this.startCreateDate = startCreateDate;
	}

	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}

	public String getEndDate()
    {
        return endDate;
    }

    public void setEndDate(String endDate)
    {
        this.endDate = endDate;
    }

    public ResourcesVo() {
		super();
	}

    public ResourcesVo(String resId, String resName, String resTypeId, String publishDate,
                       String name, Integer queryType, Integer pageNumber, Integer pageSize,
                       String resCategoryId, Integer relationType, Date startCreateDate,
                       Date endCreateDate, String endDate)
    {
        super();
        this.resId = resId;
        this.resName = resName;
        this.resTypeId = resTypeId;
        this.publishDate = publishDate;
        this.name = name;
        this.queryType = queryType;
        this.pageNumber = pageNumber;
        this.pageSize = pageSize;
        this.resCategoryId = resCategoryId;
        this.relationType = relationType;
        this.startCreateDate = startCreateDate;
        this.endCreateDate = endCreateDate;
        this.endDate = endDate;
    }

    @Override
    public String toString()
    {
        return "ResourcesVo [resId=" + resId + ", resName=" + resName + ", resTypeId=" + resTypeId
               + ", publishDate=" + publishDate + ", name=" + name + ", queryType=" + queryType
               + ", pageNumber=" + pageNumber + ", pageSize=" + pageSize + ", resCategoryId="
               + resCategoryId + ", relationType=" + relationType + ", startCreateDate="
               + startCreateDate + ", endCreateDate=" + endCreateDate + ", endDate=" + endDate
               + "]";
    }
}